.class Lcom/waiqin365/lightapp/kaoqin/am;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/view/ec;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kaoqin/am;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/am;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;->d(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/am;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;->e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->f()Ljava/util/HashMap;

    move-result-object v0

    if-eqz v0, :cond_0

    new-instance v0, Ljava/text/SimpleDateFormat;

    const-string/jumbo v1, "yyyy-MM-dd"

    invoke-direct {v0, v1}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/am;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;->d(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v1

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v0

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v2, "yyyy-MM-dd"

    invoke-direct {v1, v2}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    iget-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/am;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;->e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v2

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-virtual {v2, v3}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/Date;->after(Ljava/util/Date;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/am;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/am;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;

    const v2, 0x7f08021f

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;->getString(I)Ljava/lang/String;

    move-result-object v1

    const/4 v2, 0x1

    invoke-static {v0, v1, v2}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/am;->a:Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;->e(Lcom/waiqin365/lightapp/kaoqin/NewKaoQinApplyFragmentCheckActy;)Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/DateViewNoClear_vertical;->setDate(Ljava/util/Date;)V
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/text/ParseException;->printStackTrace()V

    goto :goto_0
.end method
